// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'babel-polyfill'
import 'ie9-oninput-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
import ELementUI from 'element-ui'
import http from './apis/index'
import store from './store/index'
import './utils/directives'
import './styles/common.scss'
import uploader from 'vue-simple-uploader'

Vue.config.productionTip = false
Vue.use(ELementUI)
Vue.use(uploader)

Vue.prototype.$http = http

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
